package com.lelouch.examplecode.designpattern.proxy.staticd;

public class Father implements Person{

    private Son son;

    public Father(Son son){
        this.son = son ;
    }

    @Override
    public void findLove() {
        System.out.println("步骤1");
        System.out.println("步骤2");
        son.findLove();
        System.out.println("步骤3");
        System.out.println("步骤4");
    }

    @Override
    public void rentHouse() {

    }
}
